<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="/admin/include/css/table.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="/admin/manage/organization/organizationJs.js"></script>
	</head>
	<body>
		<form method="post" action="/admin/manage/organization/modifyUser.seam" enctype="multipart/form-data">
			<table id="listtable" cellspacing="0">
				<tr>
					<th class="spec" width="20%">
						登录名
					</th>
					<td width="40%">
						<input type="hidden" name="userId" value="${user.userId}" />
						<input type="hidden" name="photoUrl" value="${user.photoUrl}" />
						<input type="hidden" name="organizationId" value="${user.organizationId}" />
						<c:out value="${user.loginName}" />
					</td>
					<td rowspan="6" align="center" width="40%">
					<img src="/admin/manage/upload/<c:out value="${user.photoUrl}"/>" onerror="javascript:this.src='/admin/include/images/photo_<c:out value="${user.gender}"/>.jpg'" width="110" height="122"/><br/>
					<input type="file" name="photo"/>
					</td>
				</tr>
				<tr>
					<th class="spec">
						登录密码
					</th>
					<td>
						******
					</td>
				</tr>
				<tr>
					<th class="spec">
						真实姓名
					</th>
					<td>
						<input type="text" size="60" maxlength="25" name="realName" value="<c:out value="${user.realName}" />"/>
					</td>
				</tr>
				<tr>
					<th class="spec">
						性别
					</th>
					<td>
						<input type="radio" value="1" name="gender" <c:if test="${user.gender eq '1'}">checked</c:if>/> 男 <input type="radio" value="0" name="gender" <c:if test="${user.gender eq '0'}">checked</c:if>/> 女
					</td>
				</tr>
				<tr>
					<th class="specalt">
						所任职务
					</th>
					<td>
						<input type="text" size="60" maxlength="25" name="position" value="<c:out value="${user.position}" />"/>
					</td>
				</tr>
				<tr>
					<th class="specalt">
						最高学历
					</th>
					<td>
						<input type="text" size="60" maxlength="25" name="education" value="<c:out value="${user.education}" />"/>
					</td>
				</tr>
				<tr>
					<th class="specalt">
						联系电话
					</th>
					<td colspan="2">
						<input type="text" size="100" maxlength="25" name="phone" value="<c:out value="${user.phone}" />" />
					</td>
				</tr>
				<tr>
					<th class="specalt">
						手机号码
					</th>
					<td colspan="2">
						<input type="text" size="100" maxlength="25" name="mobilePhone" value="<c:out value="${user.mobilePhone}" />" />
					</td>
				</tr>
				<tr>
					<th class="specalt">
						邮箱地址
					</th>
					<td colspan="2">
						<input type="text" size="100" maxlength="25" name="email" value="<c:out value="${user.email}" />" />
					</td>
				</tr>
				<tr>
					<td class="button" colspan="3">
						<input type="button" value="保存" class="submit_button"
							onclick="addUser()" />
						<input type="reset" value="重置" class="reset_button" />
						<input type="button" value="返回" class="back_button"
							onclick="history.go(-1)	" />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>